package cn.HuanG.org.domain;

import cn.HuanG.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * 实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Department extends BaseDomain {

    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private Long manager_id;
    private Long parent_id;
    private Employee employee;
    private Department parent;
    private List<Department> children=new ArrayList<>();
}
